/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.sonrisas.tools.dao;
import java.util.ArrayList;
import pe.sonrisas.tools.entities.Modulo;
import pe.sonrisas.tools.exception.SonrisasException;
/**
 *
 * @author computer
 */
public interface ModuloDAO extends GenericoDAO<Modulo> {
    
    
     public boolean agregarModulo(Modulo nuevoModulo)throws SonrisasException;
     public ArrayList<ArrayList> listarTodos()throws SonrisasException;
     public boolean editarModulo(Modulo nuevoModulo,String viejoNombre)throws SonrisasException;
     public boolean eliminarModulo(String nombre)throws SonrisasException;
     
}
